<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DOM01动态渲染数据（切换背景图）</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .container {
            width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            flex-direction: column;
        }

        header,footer {
            width: 99%;
            font-size: 25px;
            color: white;
            background-color: skyblue;
            padding: 5px 0;
            margin: 3px 0;
            text-align: center;
        }

        main ul{
            /* border: 1px solid red; */
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            padding: 0 3px;
        }

        main ul li{
            width: 23%;
            margin: 5px 0;
            border: 1px solid #000;
            line-height: 30px;
        }

        img{
            width: 100px;
        }
    </style>
</head>

<body>
    <div class="container">

    </div>
</body>
<script src="./js/data.js"></script>
</html>